package ejb.facades.userstate;

import ejb.facades.AbstractFacade;
import entities.userstate.BannedUser;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * Trabalho PD - 2014/2015
 * @author a21210380 a21210392
 */
@Stateless
public class BannedUserFacade extends AbstractFacade<BannedUser> implements BannedUserFacadeLocal {
    @PersistenceContext(unitName = "Trabalho_PDPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public BannedUserFacade() {
        super(BannedUser.class);
    }

}
